// Copyright (C) joyinter
// All rights reserved.
// 
// Author : Jiang Li
// Date   : 2004-10-13

#ifndef __TRANSSOCKET_H_CLIENT_MAIN__
#define __TRANSSOCKET_H_CLIENT_MAIN__


#pragma once
#include "clntsocket.h"

class CJoyRoomPage;

//##ModelId=44C4B5E4005D
class CJoyTransSocket :
    public CJoyClientSocket,
    public CJoyClientMsgHandler
{
public:
	//##ModelId=44C4B5E40060
    virtual void OnSock_Connect(int );
	//##ModelId=44C4B5E4006E
    virtual void OnMsg_SockTransmitUDP(const JoyMessage::MS_SockTransmitUDP*);
	//##ModelId=44C4B5E40071
    virtual void OnMsg_SockTransmitTCP(const JoyMessage::MS_SockTransmitTCP*);
	//##ModelId=44C4B5E40074
    virtual void OnMsg_SockConnect(const JoyMessage::MS_SockConnect*);
	//##ModelId=44C4B5E4007D
    virtual void OnMsg_SockAccept(const JoyMessage::MS_SockAccept*);
	//##ModelId=44C4B5E40080
    virtual void OnMsg_SockClose(const JoyMessage::MS_SockClose*);
public:
	//##ModelId=44C4B5E40083
    CJoyTransSocket(void);
	//##ModelId=44C4B5E40085
    virtual ~CJoyTransSocket(void);

	//##ModelId=44C4B5E4008C
    CJoyRoomPage* GetRoomPage();
};


#endif  // __TRANSSOCKET_H_CLIENT_MAIN__
